package com.ServiceImpl.user;

import com.Mapper.User.UserMapper;
import com.Model.User.User;
import com.Service.User.UserService;
import com.ServiceImpl.BaseSevice;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends BaseSevice<User> implements UserService {


    @Override
    public List<User> getUser() {
        return ((UserMapper)mapper).getAllUsers();
    }
}
